<?php
$this->breadcrumbs=array(
		HandleBox::getNodeType($model->node->tid)=>array('node', 'tid'=>$model->node->id),
		$model->node->title=>array('node/view', 'id'=>$model->node->id),
		'历史版本'=>array('/noderevision', 'id'=>$model->node->id),
		date("Y年m月d日h时i分", $model->update_time),
);

$this->menu=array(
	array('label'=>'版本列表', 'url'=>array('index')),
	array('label'=>'删除版本', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'管理版本', 'url'=>array('admin')),
);
?>

<h1>历史版本：<?php echo CHtml::link($model->node->title, array('/node/view', 'id'=>$model->node->id)); ?></h1>

<?php
	echo "撰于：".date("Y年m月d日h时i分", $model->update_time)." ";
	echo "作者：".chtml::link($model->user->username, array('/user/view', 'id'=>$model->user->id));
	echo "<br /><br />";
	echo $model->body;
?>
